package com.uls.czj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 房间管理对象 czj_room
 * 
 * @author czj
 * @date 2024-11-11
 */
public class CzjRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间id */
    private Long roomid;

    /** 楼层id */
    @Excel(name = "楼层id")
    private Long floorid;

    /** 房间号 */
    @Excel(name = "房间号")
    private String roomnumber;

    /** 房间类型 */
    @Excel(name = "房间类型")
    private String roomtype;

    /** 房间面积（平方米） */
    @Excel(name = "房间面积", readConverterExp = "平=方米")
    private BigDecimal area;

    /** 房间状态，值: 空闲, 占用, 维修中 */
    @Excel(name = "房间状态，值: 空闲, 占用, 维修中")
    private String status;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdby;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedby;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedtime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedby;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedtime;

    public void setRoomid(Long roomid) 
    {
        this.roomid = roomid;
    }

    public Long getRoomid() 
    {
        return roomid;
    }
    public void setFloorid(Long floorid) 
    {
        this.floorid = floorid;
    }

    public Long getFloorid() 
    {
        return floorid;
    }
    public void setRoomnumber(String roomnumber) 
    {
        this.roomnumber = roomnumber;
    }

    public String getRoomnumber() 
    {
        return roomnumber;
    }
    public void setRoomtype(String roomtype) 
    {
        this.roomtype = roomtype;
    }

    public String getRoomtype() 
    {
        return roomtype;
    }
    public void setArea(BigDecimal area) 
    {
        this.area = area;
    }

    public BigDecimal getArea() 
    {
        return area;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedby(String updatedby) 
    {
        this.updatedby = updatedby;
    }

    public String getUpdatedby() 
    {
        return updatedby;
    }
    public void setUpdatedtime(Date updatedtime) 
    {
        this.updatedtime = updatedtime;
    }

    public Date getUpdatedtime() 
    {
        return updatedtime;
    }
    public void setDeletedby(String deletedby) 
    {
        this.deletedby = deletedby;
    }

    public String getDeletedby() 
    {
        return deletedby;
    }
    public void setDeletedtime(Date deletedtime) 
    {
        this.deletedtime = deletedtime;
    }

    public Date getDeletedtime() 
    {
        return deletedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomid", getRoomid())
            .append("floorid", getFloorid())
            .append("roomnumber", getRoomnumber())
            .append("roomtype", getRoomtype())
            .append("area", getArea())
            .append("status", getStatus())
            .append("createdby", getCreatedby())
            .append("createdtime", getCreatedtime())
            .append("updatedby", getUpdatedby())
            .append("updatedtime", getUpdatedtime())
            .append("deletedby", getDeletedby())
            .append("deletedtime", getDeletedtime())
            .toString();
    }
}
